<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN">
<HTML><HEAD>
<TITLE>IBM Visualization Data Explorer Programmer&#39;s Reference</TITLE>

<META HTTP-EQUIV="abstract" CONTENT="IBM Visualization Data Explorer
Programmer&#39;s Reference">
<META HTTP-EQUIV="contact" CONTENT="IBM Visualization Data Explorer
(ibmdx@watson.ibm.com)">
<META HTTP-EQUIV="owner" CONTENT="IBM Visualization Data Explorer
(ibmdx@watson.ibm.com)">
<META HTTP-EQUIV="updated" CONTENT="Tue, 16 Sep 1997 ">
<META HTTP-EQUIV="review" CONTENT="Fri, 14 Aug 1998 ">

<META HTTP-EQUIV="keywords" CONTENT="GRAPHICS VISUALIZATION VISUAL PROGRAM DATA
MINING">
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
</HEAD><BODY BGCOLOR="#FFFFFF">

<A NAME="Top_Of_Page"></A>
<H1>IBM Visualization Data Explorer Programmer&#39;s Reference</H1>
<B>&#91; <A HREF="#Bot_Of_Page">Bottom of Page</A> &#124; <A
HREF="progu011.htm">Previous Page</A> &#124; <A HREF="progu013.htm">Next
Page</A> &#124; <A HREF="../proguide.htm#ToC">Table of Contents</A> &#124; <A
HREF="progu009.htm#PToC3">Partial Table of Contents</A> &#124; <A
HREF="progu344.htm#HDRINDEX_START">Index</A> &#93;</B><HR><P>

<HR>
<H2><A NAME="Header_18" HREF="progu009.htm#PToC_18">1.4 Controlling the Data
Explorer Executive or User Interface from a Separate Program</A></H2>
<P>You may want to write a program which controls the Data Explorer Executive.
For example, you could write your own user interface, providing a custom
"look and feel", and send Data Explorer script language commands to the
Data Explorer executive. In this case you would get all of the functionality
provided by the executive (cache management, control of execution order,
and object management). You could also directly control the Data Explorer User
Interface from a separate program, loading and executing visual
programs. For example, you may wish to fire up Data Explorer with a "canned"
visualization program once a simulation is complete, with parameters
within the visual program preset to particular values.
<P>
Graphically, both of these are represented by the upper "User
Program" in <A HREF="progu009.htm#FIGARCH">Figure 1</A>, which controls the Data
Explorer Executive or
User Interface from the user's program. The libDXL.a library (DXLink)
provides this functionality, and is discussed in
<A HREF="progu084.htm#HDRDXLINK">Chapter 17. "DXLink Developer's Toolkit"</A>.
Examples of DXLink programs can be found in
<TT>/usr/local/dx/samples/dxlink.</TT>
<P>
With the functionality provided by SuperviseWindow and SuperviseState
(see <A HREF="refgu153.htm#HDRSUPWIND">SuperviseWindow</A> and <A
HREF="refgu152.htm#HDRSUPSTAT">SuperviseState</A> in <I>IBM Visualization Data
Explorer User&#39;s Reference</I>),
your program does not need the Image tool (which is provided only within
the Data Explorer User Interface) in order to provide direct user interaction in
the image window. Thus a custom GUI communicating only with the Data Explorer
Executive can implement all of the user-interaction provided by the Data
Explorer
User Interface. Examples of custom direct interactors can be found in
<TT>/usr/local/dx/samples/supervise</TT>; while these examples are
demonstrated using the Data Explorer User Interface, there is no necessity that
they do so, as all of the modules used in these examples
(SuperviseWindow, SuperviseState, and Display, in particular) are
available directly from the Data Explorer Executive.



<P><HR><B>&#91; <A HREF="#Top_Of_Page">Top of Page</A> &#124; <A
HREF="progu011.htm">Previous Page</A> &#124; <A HREF="progu013.htm">Next
Page</A> &#124; <A HREF="../proguide.htm#ToC">Table of Contents</A> &#124; <A
HREF="progu009.htm#PToC3">Partial Table of Contents</A> &#124; <A
HREF="progu344.htm#HDRINDEX_START">Index</A> &#93;</B> <br><b>&#91;<a
href="../allguide.htm">Data Explorer Documentation</a>&nbsp;&#124;&nbsp;<a
href="../qikguide.htm">QuickStart Guide</a>&nbsp;&#124;&nbsp;<a
href="../usrguide.htm">User&#39;s Guide</a>&nbsp;&#124;&nbsp;<a
href="../refguide.htm">User&#39;s Reference</a>&nbsp;&#124;&nbsp;<a
href="../proguide.htm">Programmer&#39;s Reference</a>&nbsp;&#124;&nbsp;<a
href="../insguide.htm">Installation and Configuration
Guide</a>&nbsp;&#93;</b><br><p><b>&#91;<a
href="http://www.research.ibm.com/dx">Data Explorer Home
Page</a>&#93;</b><p><HR ALIGN=LEFT WIDTH=600><b>&#91;<A
HREF="http://www.ibm.com/">IBM Home Page</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Orders/">Order</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Search/">Search</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Assist/">Contact IBM</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Legal/">Legal</A>&nbsp;&#93;</b><hr><p>
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>
